Carbon


MPDeleteEvent

Header: Multiprocessing.h Carbon status: Supported

Removes an event group.

OSStatus MPDeleteEvent (
    MPEventID event
);
Parameter descriptions
event

The ID of the event group you want to remove.

function result

A result code.

DISCUSSION

After deletion, the event ID becomes invalid, and all internal resources associated with the event group are reclaimed. Calling this function unblocks all tasks waiting on the event group and their respective MPWaitForEvent calls will return with the result code kMPDeletedErr.

Also see the function MPCreateEvent.

VERSION NOTES

Introduced with Multiprocessing Services 2.0.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)